
<div ng-controller="CarReportCtrl">
	
<div ng-include="'/templates/paramsSelect.html'"></div>
	<div class="page-heading">
		<ul class="breadcrumb">
			<li><a href="javascript:">报表管理</a></li>
			<li >销售分析</li>
			
			<li class="active" ng-hide="menuName">整车销售报表</li>
			<li class="active" ng-show="menuName" ng-bind="menuName"></li>
			<span style="margin-right:10px;"  class="btn btn-danger btn-xs pull-right btn-flag " ng-show="flag" ng-click="delFlag('/sales/car_report/')"><i class="fa fa-times"></i> 删除 </span>
			<span style="margin-right:10px;"  class="btn btn-info btn-xs pull-right btn-flag " ng-click="addFlag('#/sales/car_report/')"><i class="fa fa-star"></i> 收藏 </span>
		
		</ul>
	</div>
	<!-- 页面头部  end-->

	<!--页面内容显示区域-->
	<div class="wrapper">


		<div class="row">
			<div class="col-sm-12">
				<!--表格显示区域-->
				<section class="panel">
					<!--区块头 显示表格名称和功能按钮-->
					<header class="panel-heading">
						整车销售信息
						<!--控制按钮-->
						<span class="tools pull-right"> <!--收起-->
							<button type="button" class="btn btn-success pull-left" ng-click="SearchData()"
								style="margin-left: 5px;">
								<i class="fa fa-search" ></i> 查询
							</button>
							<button type="button" class="btn btn-info  pull-left" ng-click="ExportData()"
								style="margin-left: 5px;">
								<i class="fa fa-table"></i> 导出EXCEL
							</button> <a href="javascript:" class="fa fa-chevron-up form_display"></a>

						</span>
					</header>
					<!--区块body 显示表格内容-->
					<div class="panel-body form-horizontal form_hide">
						<div class="row">
						
							<div class="col-md-3 ">
								<div class="form-group">
									<label class="col-lg-4 col-sm-5 control-label"
										for="inputEmail1">事业部</label>
										<div class="col-lg-8 col-sm-7">
										<input type="text" id="entity_group_name"  ng-keyup="clearGroup()"  name="entity_group_name"   class="form-control select_edit form_params" />
                                            <ul class="select_list">
                                                  <li ng-repeat="e in groups" ng-click='LoadBrands(e.group_name)' val_code="{{e.group_name}}" val_name="{{e.group_name}}">{{e.group_name}}</li>
                                            </ul>  
                                            </div>
								</div>
							</div>
							
							<div class="col-md-3 ">
								<div class="form-group">
									<label class="col-lg-4 col-sm-5 control-label"
										for="inputEmail1">店面品牌</label>
									<div class="col-lg-8 col-sm-7">
										<input type="text" id="entity_brand_name" ng-keyup="clearGroupBrand()"  name="entity_brand_name" class="form-control select_edit form_params" value=""/>
                                            <ul class="select_list">
                                                  <li ng-repeat="e in gBrands" ng-click='LoadEntitys(e)' val_code="{{e.brand_code}}" val_name="{{e.brand_name}}">{{e.brand_name}}</li>
                                            </ul> 
									</div>
								</div>
							</div>
							
							
							<div class="col-md-3 ">
								<div class="form-group">
									<label class="col-lg-4 col-sm-5 control-label" for="inputEmail1">店面信息</label>
									<div class="col-lg-8 col-sm-7">
											<input type="text" id="entity_name" ng-keyup="clearGroupBrandEntity()" name="entity_name" class="form-control select_edit form_params" value=""/>
                                            <ul class="select_list">
                                                  <li ng-repeat="e in entitys" ng-click='LoadEntityBrands(e)' val_code="{{e.entity_code}}" val_name="{{e.entity_name}}">{{e.entity_name}}({{e.entity_code}})</li>
                                            </ul>  
									</div>
								</div>
							</div>
							
							
							<div class="col-md-3">
								<div class="form-group">
									<label class="col-lg-4 col-sm-5 control-label"
										for="business_type">订单类型</label>
									<div class="col-lg-8 col-sm-7">
										<select name="business_type" id="business_type" class="form-control form_params">
											<option></option>
											<option ng-repeat="b in businessTypeList" value="{{b.status_code}}">{{b.status_desc}}</option>
										</select>
									</div>
								</div>
							</div>

							<div class="col-md-3">
								<div class="form-group">
									<label class="col-lg-4 col-sm-5 control-label"
										for="inputEmail1">订单状态</label>
									<div class="col-lg-8 col-sm-7">
										<select name="so_status" class="form-control form_params">
											<option></option>
											<option ng-selected="b.status_code==selected.so_status" ng-repeat="b in sostatus" value="{{b.status_code}}">{{b.status_desc}}</option>
										</select>
									</div>
								</div>
							</div>
							<div class="col-md-3">
								<div class="form-group">
									<label class="col-lg-4 col-sm-5 control-label"
										for="inputEmail1">订单编号</label>
									<div class="col-lg-8 col-sm-7">
										<input name="so_no" class="form-control form_params"/>
									</div>
								</div>
							</div>
							<div class="col-md-3">
								<div class="form-group">
									<label class="col-lg-4 col-sm-5 control-label" for="inputEmail1">出库日期</label>
									<div class="col-lg-8 col-sm-7">
										<div data-date-format="yyyy-mm-dd" data-date="2016-5-15" class="input-large custom-date-range">
											<input type="text" name="stock_out_date1" class="form-control form_params" id="stock_out_date1"
												onFocus="WdatePicker({maxDate:'#F{$dp.$D(\'stock_out_date2\')||\'2020-10-01\'}'})">
										</div>
									</div>
								</div>
							</div>
                            
                            <div class="col-md-3">
								<div class="form-group">
									<label class="col-lg-4 col-sm-5 control-label text-center" for="inputEmail1">至</label>
									<div class="col-lg-8 col-sm-7">
										<div data-date-format="yyyy-mm-dd" data-date="2016-5-15" class="input-large custom-date-range">
											<input type="text" name="stock_out_date2" class="form-control form_params" id="stock_out_date2"
												onFocus="WdatePicker({minDate:'#F{$dp.$D(\'stock_out_date1\')}',maxDate:'2020-10-01'})">
										</div>
									</div>
								</div>
							</div>
							
							<div class="col-md-3">
								<div class="form-group">
									<label class="col-lg-4 col-sm-5 control-label"
										for="inputEmail1">品牌</label>
									<div class="col-lg-8 col-sm-7">
									 
										<select name="brand_code"  ng-model="ch_brand" ng-change="LoadSeries(ch_brand)"  class="form-control form_params">
											<option></option>
											<option ng-selected="b.brand_code==selected.brand_code" ng-repeat="b in brands"  value="{{b.brand_code}}">{{b.brand_name}}</option>
										</select>
									</div>
								</div>
							</div>
							<div class="col-md-3">
								<div class="form-group">
									<label class="col-lg-4 col-sm-5 control-label"
										for="inputEmail1">车系</label>
									<div class="col-lg-8 col-sm-7">
										<select name="series_code" ng-model="$root.ch_serie" ng-change="LoadModels(ch_serie);"    class="form-control form_params">
											<option></option>
											<option ng-selected="b.series_code==selected.series_code" ng-repeat="b in $parent.series"   value="{{b.series_code}}">{{b.series_name}}</option>
										</select>
									</div>
								</div>
							</div>
							<div class="col-md-3">
								<div class="form-group">
									<label class="col-lg-4 col-sm-5 control-label"
										for="inputEmail1">车型</label>
									<div class="col-lg-8 col-sm-7">
										<select name="model_code"    class="form-control form_params">
											<option></option>
											<option ng-selected="b.model_code==selected.model_code" ng-repeat="b in $parent.models" value="{{b.model_code}}">{{b.model_name}}</option>
										</select>
									</div>
								</div>
							</div>
							
							<div class="col-md-3">
								<div class="form-group">
									<label class="col-lg-4 col-sm-5 control-label"
										for="inputEmail1">配置</label>
									<div class="col-lg-8 col-sm-7">
										<select name="config_code" class="form-control form_params">
											<option></option>
											<option ng-selected="b.config_code==selected.config_code" ng-repeat="b in $parent.configs" value="{{b.config_code}}">{{b.config_name}}</option>
										</select>
									</div>
								</div>
							</div>
							
							
							<div class="col-md-3">
								<div class="form-group">
									<label class="col-lg-4 col-sm-5 control-label"
										for="inputEmail1">颜色</label>
									<div class="col-lg-8 col-sm-7">
										<select name="color_code"   class="form-control form_params">
											<option></option>
											<option ng-selected="b.color_code==selected.color_code"  ng-repeat="b in colors" value="{{b.color_code}}">{{b.color_name}}</option>
										</select>
									</div>
								</div>
							</div>
							
							<div class="col-md-3">
								<div class="form-group">
									<label class="col-lg-4 col-sm-5 control-label"
										for="inputEmail1">VIN</label>
									<div class="col-lg-8 col-sm-7">
										<input name="vin" class="form-control form_params" />
									</div>
								</div>
							</div>
							<div class="col-md-3">
								<div class="form-group">
									<label class="col-lg-4 col-sm-5 control-label"
										for="sold_by">销售顾问</label>
									<div class="col-lg-8 col-sm-7">
										<input type="text" name="sold_by_name" class="form-control select_edit form_params" value=""/>
                                            <ul class="select_list">
                                                  <li ng-repeat="e in users" val_code="{{e.user_name}}" val_name="{{e.user_name}}">{{e.user_name}}</li>
                                            </ul> 
										
									</div>
								</div>
							</div>

							<div class="col-md-3">
								<div class="form-group">
									<label class="col-lg-4 col-sm-5 control-label"
										for="inputEmail1">部门</label>
									<div class="col-lg-8 col-sm-7">
										<input type="hidden" name="org_code" class="form_params select_value" value=""/>
										<input type="text" name="org_name" class="form-control select_edit" value=""/>
                                            <ul class="select_list">
                                                  <li ng-repeat="e in departments" val_code="{{e.org_code}}" val_name="{{e.org_name}}">{{e.org_name}}</li>
                                            </ul> 
									</div>
								</div>
							</div>


							<div class="col-md-3">
								<div class="form-group">
									<label class="col-lg-4 col-sm-5 control-label" for="inputEmail1">采购日期</label>
									<div class="col-lg-8 col-sm-7">
										<div data-date-format="yyyy-mm-dd" data-date="2016-5-15" class="input-large custom-date-range">
											<input type="text" name="vs_purchase_date1" class="form-control form_params" id="vs_purchase_date1"
                                            	onFocus="WdatePicker({maxDate:'#F{$dp.$D(\'vs_purchase_date2\')||\'2020-10-01\'}'})">
										</div>
									</div>
								</div>
							</div>
							<div class="col-md-3">
								<div class="form-group">
									<label class="col-lg-4 col-sm-5 control-label text-center" for="inputEmail1">至</label>
									<div class="col-lg-8 col-sm-7">
										<div data-date-format="yyyy-mm-dd" data-date="2016-5-15" class="input-large custom-date-range">
											<input type="text" name="vs_purchase_date2" class="form-control form_params" id="vs_purchase_date2"
												onFocus="WdatePicker({minDate:'#F{$dp.$D(\'vs_purchase_date1\')}',maxDate:'2020-10-01'})">
										</div>
									</div>
								</div>
							</div>




							<div class="col-md-3">
								<div class="form-group">
									<label class="col-lg-4 col-sm-5 control-label"
										for="inputEmail1">开票日期</label>
									<div class="col-lg-8 col-sm-7">
										<div data-date-format="yyyy-mm-dd" data-date="2016-5-15" class="input-large custom-date-range">
											<input type="text" name="invoice_date1" class="form-control form_params" id="invoice_date1"
												onFocus="WdatePicker({maxDate:'#F{$dp.$D(\'invoice_date2\')||\'2020-10-01\'}'})">
										</div>
									</div>
								</div>
							</div>
                            
                            <div class="col-md-3">
								<div class="form-group">
									<label class="col-lg-4 col-sm-5 control-label text-center" for="inputEmail1">至</label>
									<div class="col-lg-8 col-sm-7">
										<div data-date-format="yyyy-mm-dd" data-date="2016-5-15" class="input-large custom-date-range">
											<input type="text" name="invoice_date2" class="form-control form_params" id="invoice_date2"
												onFocus="WdatePicker({minDate:'#F{$dp.$D(\'invoice_date1\')}',maxDate:'2020-10-01'})">
										</div>
									</div>
								</div>
							</div>
                            
							
							<div class="col-md-3">
								<div class="form-group">
									<label class="col-lg-4 col-sm-5 control-label" for="inputEmail1">开单日期</label>
									<div class="col-lg-8 col-sm-7">
										<div data-date-format="yyyy-mm-dd" data-date="2016-5-15" class="input-large custom-date-range">
											<input type="text" name="sheet_create_date1" class="form-control form_params" id="sheet_create_date1"
												onFocus="WdatePicker({maxDate:'#F{$dp.$D(\'sheet_create_date2\')||\'2020-10-01\'}'})">
										</div>
									</div>
								</div>
							</div>
							
                            <div class="col-md-3">
								<div class="form-group">
									<label class="col-lg-4 col-sm-5 control-label text-center" for="inputEmail1">至</label>
									<div class="col-lg-8 col-sm-7">
										<div data-date-format="yyyy-mm-dd" data-date="2016-5-15" class="input-large custom-date-range">
											<input type="text" name="sheet_create_date2" class="form-control form_params" id="sheet_create_date2"
												onFocus="WdatePicker({minDate:'#F{$dp.$D(\'sheet_create_date1\')}',maxDate:'2020-10-01'})">
										</div>
									</div>
								</div>
							</div>
							
							<div class="col-md-3">
								<div class="form-group">
									<label class="col-lg-4 col-sm-5 control-label" for="inputEmail1">退回日期</label>
									<div class="col-lg-8 col-sm-7">
										<div data-date-format="yyyy-mm-dd" data-date="2016-5-15" class="input-large custom-date-range">
											<input type="text" name="return_in_date1" class="form-control form_params" id="return_in_date1"
												onFocus="WdatePicker({maxDate:'#F{$dp.$D(\'return_in_date2\')||\'2020-10-01\'}'})">
										</div>
									</div>
								</div>
							</div>
							
                            <div class="col-md-3">
								<div class="form-group">
									<label class="col-lg-4 col-sm-5 control-label text-center" for="inputEmail1">至</label>
									<div class="col-lg-8 col-sm-7">
										<div data-date-format="yyyy-mm-dd" data-date="2016-5-15" class="input-large custom-date-range">
											<input type="text" name="return_in_date2" class="form-control form_params" id="return_in_date2"
												onFocus="WdatePicker({minDate:'#F{$dp.$D(\'return_in_date1\')}',maxDate:'2020-10-01'})">
										</div>
									</div>
								</div>
							</div>
							
							
							<div class="col-md-3">
								<div class="form-group">
									<label class="col-lg-4 col-sm-5 control-label"
										for="inputEmail1">是否按揭</label>
									<div class="col-lg-8 col-sm-7">
										<select name="is_loan" class="form-control form_params">
											<option></option>
											<option ng-selected="b.status_code==selected.is_loan" ng-repeat="b in isornot" value="{{b.status_code}}">{{b.status_desc}}</option>
											
										</select>
									</div>
								</div>
							</div>

						</div>
					</div>
				</section>

				<section class="panel">
					<!--区块头 显示表格名称和功能按钮-->
					<header class="panel-heading">
						整车销售报表
						<headshow></headshow>
						<div class="option_check_list" style="display: inline-block;"></div>

						<!--控制按钮-->
						<span class="tools pull-right"> <!--收起--> <a
								href="javascript:" class="fa fa-chevron-down"></a>
						</span>
						<div class="pull-right"
							style="margin-right: 10px; margin-top: -6px; display: inline-block">
							<button type="button" class="btn btn-danger btn-sm " href="#paramsSelect"
								data-toggle="modal">
								<i class="fa fa-plus"></i> 在结果集中筛选
							</button>
							<button type="button" class="btn btn-success btn-sm"
								id="search_table" ng-click="SearchData();">
								<i class="fa fa-search"></i> 查询表格
							</button>
						</div>
					</header>
					<!--区块body 显示表格内容-->
					<div class="panel-body form-horizontal ">

						<div class="adv-table" style="overflow-x: scroll">
							<table id="carReportTable"
								class="table table-striped  nowrap  dataTable no-footer table_store table-hover float_head"
								cellspacing="0" width="100%">
								<thead>
									<tr>
										<th ng-show="!cols.contains('index')" column="index">序号</th>
										<th ng-show="!cols.contains('entity_code')" column="entity_code">店面编号</th>
										<th ng-show="!cols.contains('entity_name')" column="entity_name">店面名称</th>
										<th ng-show="!cols.contains('entity_brand_name')" column="entity_brand_name">店面品牌</th>
										<th ng-show="!cols.contains('entity_group_name')" column="entity_group_name">事业部</th>
										<th ng-show="!cols.contains('customer_name')" column="customer_name">客户名称</th>
										<th ng-show="!cols.contains('so_no')" column="so_no">订单编号</th>
										<th ng-show="!cols.contains('business_type_name')" column="business_type_name">订单类型</th>
										<th ng-show="!cols.contains('so_status_name')" column="so_status_name">订单状态</th>
                                        <th ng-show="!cols.contains('pay_mode')" column="pay_mode">结算方式</th>
										<th qtype="bool" ng-show="!cols.contains('fake_flag')" column="fake_flag">是否虚销车</th>
										<th ng-show="!cols.contains('source_code')" column="source_code">资金来源</th>
										<th ng-show="!cols.contains('cus_source_name')" column="cus_source_name">客户来源</th>
										<th ng-show="!cols.contains('media_type_name')" column="media_type_name">渠道大类</th>
										<th ng-show="!cols.contains('vin')" column="vin">VIN</th>
										<th ng-show="!cols.contains('product_code')" column="product_code">产品代码</th>
										<th ng-show="!cols.contains('product_name')" column="product_name">产品名称</th>
										<th qtype='double' ng-show="!cols.contains('stock_age')" column="stock_age">库龄</th>
										<th qtype='bool' ng-show="!cols.contains('is_test_drive_car')" column="is_test_drive_car">是否试乘试驾车</th>
										<th qtype='double' ng-show="!cols.contains('rebate')" column="rebate">预估返利</th>
										<th ng-show="!cols.contains('brand_name')" column="brand_name">品牌</th>
										<th ng-show="!cols.contains('series_name')" column="series_name">车系</th>
										<th ng-show="!cols.contains('model_name')" column="model_name">车型</th>
										<th ng-show="!cols.contains('config_name')" column="config_name">配置</th>
										<th ng-show="!cols.contains('color_name')" column="color_name">颜色</th>
										<th ng-show="!cols.contains('sold_by_name')" column="sold_by_name">销售顾问</th>
										<th ng-show="!cols.contains('department')" column="department">销售小组</th>
										<th qtype='date' ng-show="!cols.contains('vs_purchase_date')" column="vs_purchase_date">采购日期</th>
										<th qtype='date' ng-show="!cols.contains('stock_out_date')" column="stock_out_date">出库日期</th>
										<th qtype='date' ng-show="!cols.contains('return_in_date')" column="return_in_date">退回日期</th>
										<th qtype='date' ng-show="!cols.contains('sheet_create_date')" column="sheet_create_date">开单日期</th>
										<th qtype='date' ng-show="!cols.contains('invoice_date')" column="invoice_date">开票日期</th>
										<th qtype='double' ng-show="!cols.contains('purchase_price')" column="purchase_price">车辆采购价(含税)</th>
										<th qtype='double' ng-show="!cols.contains('directive_price')" column="directive_price">车辆销售指导价</th>
										<th qtype='double' ng-show="!cols.contains('actual_price')" column="actual_price">车辆实际售价</th>
										<th qtype='double' ng-show="!cols.contains('actual_price_notax')" column="actual_price_notax">车辆实际售价(不含税)</th>
										<th qtype='double' ng-show="!cols.contains('vehicle_sales')" column="vehicle_sales">裸车销售毛利</th>
										<th qtype='double' ng-show="!cols.contains('vehicle_sales_notax')" column="vehicle_sales_notax">裸车销售毛利(不含税)</th>
										<th qtype='double' ng-show="!cols.contains('price_policy_discount')" column="price_policy_discount">价格政策折让金额</th>
										<th qtype='double' ng-show="!cols.contains('current_discount')" column="current_discount">订单实际折让总额</th>
										<th qtype='double' ng-show="!cols.contains('actual_order_receivable_sum')" column="actual_order_receivable_sum">订单实际应收金额</th>
										<th qtype='double' ng-show="!cols.contains('order_payed_amount')" column="order_payed_amount">订单已付金额</th>
										<th qtype='double' ng-show="!cols.contains('order_arrearage_amount')" column="order_arrearage_amount">订单欠款</th>
										<th qtype="bool" ng-show="!cols.contains('is_large_consumer')" column="is_large_consumer">是否大客户</th>
										<th  ng-show="!cols.contains('large_consumer_name')" column="large_consumer_name">大客户名称</th>
										
										<th  ng-show="!cols.contains('phone')" column="phone">客户联系方式  </th>
										<th  ng-show="!cols.contains('address')" column="address">客户地址</th>
										<th  ng-show="!cols.contains('first_stock_in_date')" column="first_stock_in_date">首次入库时间</th>
										<th  ng-show="!cols.contains('fake_date')" column="fake_date">虚销日期</th>
										<th qtype="bool" ng-show="!cols.contains('is_problem')" column="is_problem">是否问题车辆</th>
										<th qtype="bool" ng-show="!cols.contains('vender_local_check')" column="vender_local_check">是否厂家考核</th>
									</tr>
								</thead>
								<tbody>
									<tr ng-repeat="c in carReports">
										<td ng-show="!cols.contains('index')" class="">{{$index + 1 }}</td>
										<td ng-show="!cols.contains('entity_code')" class="left" column="entity_code">{{c.entity_code}}</td>
										<td ng-show="!cols.contains('entity_name')" class="left" column="entity_name">{{c.entity_name}}</td>
										<td ng-show="!cols.contains('entity_brand_name')" class="left" column="entity_brand_name">{{c.entity_brand_name}}</td>
										<td ng-show="!cols.contains('entity_group_name')" class="left" column="entity_group_name">{{c.entity_group_name}}</td>
										<td ng-show="!cols.contains('customer_name')" class="">{{c.customer_name}}</td>
										<td ng-show="!cols.contains('so_no')" class="">{{c.so_no}}</td>
										<td ng-show="!cols.contains('business_type_name')" class="">{{c.business_type_name}}</td>
										<td ng-show="!cols.contains('so_status_name')" class="">{{c.so_status_name}}</td>
										<td ng-show="!cols.contains('pay_mode')" class="">{{c.pay_mode}}</td>
										<td ng-show="!cols.contains('fake_flag')" class="">{{c.fake_flag=='12781001'?'是':'否'}}</td>
										<td ng-show="!cols.contains('source_code')" class="">{{c.source_code=='0001'?'自有现金':(c.source_code=='1001'?'现款':c.source_code=='1002'?"银行融资":"")}}</td>
										<td ng-show="!cols.contains('cus_source_name')" class="">{{c.cus_source_name}}</td>
										<td ng-show="!cols.contains('media_type_name')" class="">{{c.media_type_name}}</td>
										<td ng-show="!cols.contains('vin')" class="">{{c.vin}}</td>
										<td ng-show="!cols.contains('product_code')" class="">{{c.product_code}}</td>
										<td ng-show="!cols.contains('product_name')" class="">{{c.product_name}}</td>
										<td ng-show="!cols.contains('stock_age')" class="">{{c.stock_age}}</td>
										<td ng-show="!cols.contains('is_test_drive_car')" class="">{{c.is_test_drive_car=='12781001'?'是':(c.is_test_drive_car=='12781002'?'否':'')}}</td>
										<td ng-show="!cols.contains('rebate')" class="">{{c.rebate |number:2}}</td>
										<td ng-show="!cols.contains('brand_name')" class="">{{c.brand_name}}</td>
										<td ng-show="!cols.contains('series_name')" class="">{{c.series_name}}</td>
										<td ng-show="!cols.contains('model_name')" class="">{{c.model_name}}</td>
										<td ng-show="!cols.contains('config_name')" class="">{{c.config_name}}</td>
										<td ng-show="!cols.contains('color_name')" class="">{{c.color_name}}</td>
										<td ng-show="!cols.contains('sold_by_name')" class="">{{c.sold_by_name}}</td>
										<td ng-show="!cols.contains('department')" class="">{{c.department}}</td>
										<td ng-show="!cols.contains('vs_purchase_date')" class="">{{c.vs_purchase_date | date : 'yyyy-MM-dd HH:mm:ss'}}</td>
										<td ng-show="!cols.contains('stock_out_date')" class="">{{c.stock_out_date | date : 'yyyy-MM-dd HH:mm:ss'}}</td>
										<td ng-show="!cols.contains('return_in_date')" class="">{{c.return_in_date | date : 'yyyy-MM-dd HH:mm:ss'}}</td>
										<td ng-show="!cols.contains('sheet_create_date')" class="">{{c.sheet_create_date  | date : 'yyyy-MM-dd HH:mm:ss'}}</td>
										<td ng-show="!cols.contains('invoice_date')" class="">{{c.invoice_date | date : 'yyyy-MM-dd HH:mm:ss'}}</td>
										<td ng-show="!cols.contains('purchase_price')" class="right">{{c.purchase_price==null?0:c.purchase_price |number:2}}</td>
										<td ng-show="!cols.contains('directive_price')" class="right">{{c.directive_price |number:2}}</td>
										<td ng-show="!cols.contains('actual_price')" class="right">{{c.actual_price |number:2}}</td>
										<td ng-show="!cols.contains('actual_price_notax')" class="right">{{c.actual_price_notax |number:2}}</td>
										<td ng-show="!cols.contains('vehicle_sales')" class="right">{{c.vehicle_sales |number:2}}</td>
										<td ng-show="!cols.contains('vehicle_sales_notax')" class="right">{{c.vehicle_sales_notax |number:2}}</td>
										<td ng-show="!cols.contains('price_policy_discount')" class="right">{{c.price_policy_discount==null?0:c.price_policy_discount |number:2}}</td>
										<td ng-show="!cols.contains('current_discount')" class="right">{{c.current_discount==null?0:c.current_discount |number:2}}</td>
										<td ng-show="!cols.contains('actual_order_receivable_sum')" class="right">{{c.actual_order_receivable_sum |number:2}}</td>
										<td ng-show="!cols.contains('order_payed_amount')" class="right">{{c.order_payed_amount |number:2}}</td>
										<td ng-show="!cols.contains('order_arrearage_amount')" class="right">{{c.order_arrearage_amount |number:2}}</td>
										<td  ng-show="!cols.contains('is_large_consumer')"  class="right">{{c.is_large_consumer=='12781001'?'是':'否'}}</td>
										<td  ng-show="!cols.contains('large_consumer_name')"  class="right">{{c.large_consumer_name}}</td>
										
										
										<td  ng-show="!cols.contains('phone')"  class="">{{c.phone | mobile}}</td>
										<td  ng-show="!cols.contains('address')"  class="">{{c.address}}</td>
										<td  ng-show="!cols.contains('first_stock_in_date')"  class="">{{c.first_stock_in_date | date : 'yyyy-MM-dd HH:mm:ss'}}</td>
										<td  ng-show="!cols.contains('fake_date')"  class="">{{c.fake_date  | date : 'yyyy-MM-dd HH:mm:ss'}}</td>
										<td  ng-show="!cols.contains('is_problem')"  class="">{{c.is_problem=='12781001'?'是':'否'}}</td>
										<td  ng-show="!cols.contains('vender_local_check')"  class="">{{c.vender_local_check=='12781001'?'是':'否'}}</td>
									</tr>
									
								</tbody>
								
							</table>
								<div class="no-items" ng-show="pagination.totalItems <= 0">暂无数据</div>
						</div>
						<tm-pagination conf="pagination"></tm-pagination>
					</div>
				</section>
				<!--表格显示区域-->

			</div>
		</div>
	</div>
	 
</div>


<form id="export_form" action="carReport/export"  method="post">
	<input type="hidden" name="keys" id="keys" />
	<input type="hidden" name="names" id="names" /> 
	<input type="hidden" name="params" id="params" />
	<input type="hidden" name="search_opt" id="search_opt" /> 
	<input type="hidden" name="file_name" id="file_name" value="整车销售报表"/>
</form>
